package com.hzw.saas.web.sso.controller.param;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author sonam
 * @sine 2021/11/16 2:07 下午
 */
@Data
public class Oauth2Param {
    @ApiParam("客户端ID")
    @NotBlank(message = "客户端ID不能为空")
    private String clientId;

    @ApiParam("客户端回调地址")
    @NotBlank(message = "客户端回调地址不能为空")
    private String redirectUri;

    @ApiParam("授权类型")
    private String responseType;

    @ApiParam("授权范围")
    private List<String> scopes;
}
